package com.xiaoshuidi.cloud.module.member.controller.app.message.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(description = "租户端")
public class MessageListVO {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "管家id或租客id")
    private Long userId;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "消息类型1评价2通知")
    private Integer type;


    @Schema(description = "消息指向1广播2管家个人3租客个人")
    private Integer destination;

    @Schema(description = "1未读2已读")
    private Integer status;

    @Schema(description = "新增时间")
    private LocalDateTime createTime;
    @Schema(description = "评价类型1-新租,2-续租,3-退租,4-企业入住人评价,5-员工迁出评价")
    private Integer commentType;

    @Schema(description = "是否已评价1已评价0未评价")
    private Boolean isEvaluated;
    @Schema(description = "管家id")
    private Long stewardId;

    @Schema(description = "管家")
    private String steward;
    @Schema(description = "门店名称")
    private String apartmentName;

}
